module.exports = {
  devServer: {
    port: 8080,
    open: true,
    proxy: {
      '/api': {
        target: 'http://localhost:9000',
        changeOrigin: true,
        pathRewrite: {
          '^/api': ''
        }
      },
      '/user': {
        target: 'http://localhost:9000',
        changeOrigin: true
      }
    }
  },
  lintOnSave: false
}
